import { sql2apiAction } from '@/api/manage'

// 晨会-日看板-发展
const morningDayAdvance = (params)=>sql2apiAction('402880838464b62301849ebac56b0002' ,params)
/**
 *  发展指标明细
 * */ 
// 移网
const daygsm = (params)=>sql2apiAction('40288083843224280184566b02300009' ,params)
// 宽带
const daykd = (params)=>sql2apiAction('40288083843224280184566cd9e0000a' ,params)
// 融合
const dayrh = (params)=>sql2apiAction('40288083843224280184566d2c5d000b' ,params)
// 云企通
const dayyqt = (params)=>sql2apiAction('402880838432242801845b560b150012' ,params)
// 5G
const daygsm5g = (params)=>sql2apiAction('402880838432242801845b502ea7000d' ,params)
// 千兆
const dayqz = (params)=>sql2apiAction('402880838432242801845b514acc000e' ,params)
// 固话
const daygh = (params)=>sql2apiAction('40288083843224280184566d8ec3000c' ,params)


// 晨会-日看板-维系
const morningDaySustain = (params)=>sql2apiAction('402880838464b62301849ebd7ce60003' ,params)
/**
 *  维系指标明细
 * */ 
// 5G迁转
const dayqz5g = (params)=>sql2apiAction('402880838432242801845b58d6390013' ,params)
// 5G升级包
const daysjb5g = (params)=>sql2apiAction('402880838432242801845b596c480014' ,params)
// 宽带提速包
const daykdtsb = (params)=>sql2apiAction('402880838432242801845b5a7a980015' ,params)
// 宽带续约
const daykdxy = (params)=>sql2apiAction('402880838432242801845b5b342d0016' ,params)
// 套餐升档
const daytcsd = (params)=>sql2apiAction('402880838432242801845b5b6a9c0017' ,params)


// 晨会-日看板-智家
const morningDayWise = (params)=>sql2apiAction('402880838464b6230184a2338de50004', params)
/**
 *  智家指标明细
 * */ 
// 沃家固话
const daywjgh = (params)=>sql2apiAction('402880838432242801845b5baa140018' ,params)
// 沃家组网
const daywjzw = (params)=>sql2apiAction('402880838432242801845b5cc2940019' ,params)
// 沃家神眼
const daywjsy = (params)=>sql2apiAction('402880838432242801845b5d08aa001a' ,params)
// IPTV
const dayiptv = (params)=>sql2apiAction('402880838432242801845b5d3865001b' ,params)

// 晨会-日看板-交付
const morningDayDeliver = (params)=>sql2apiAction('402880838464b6230184a233ed0d0005', params)
/**
 * 交付指标明细
 */
// 移机
const dayyj = (params)=>sql2apiAction('402880838464b62301854d69dabf0066' ,params)
// 装机
const dayzj = (params)=>sql2apiAction('402880838464b62301854d6ec9440067' ,params)
// 修障
const dayxz = (params)=>sql2apiAction('402880838464b62301854d7295d50068' ,params)
// 2I交付
const dayjf2i = (params)=>sql2apiAction('402880838464b62301854d776e620069' ,params)


// 晨会-日看板-收入
const morningDayIncomeTotal = (params)=>sql2apiAction('402880838464b6230184a25180380006', params)
// 晨会-日看板-收入
const morningDayIncomeOther = (params)=>sql2apiAction('402880838464b6230184a25207cd0007', params)
// 晨会-日看板-收入趋势图
const morningDayIncomeLine = (params)=>sql2apiAction('402880838464b6230184a2525aea0008', params)
// 晨会-日看板-收入明细列表
const morningDayIncomeList = (params)=>sql2apiAction('402880838464b6230184f12eaa1e001a', params)
// 所有指标人员列表明细
const kpiPeopleDetail = (params)=>sql2apiAction('40288083843224280184566975c10008', params)
// 晨会-日看板-欠费
const morningDayArrear = (params)=>sql2apiAction('402880838464b6230184a25357810009', params)
// 晨会-日看板-欠费人员列表
const morningDayArrearList = (params)=>sql2apiAction('402880838464b6230184f170fe9d001b', params)
// 晨会-日看板-欠费人员明细
const morningDayArrearDetail = (params)=>sql2apiAction('402880838464b6230184f59525f8001c', params)

/**
 * 夕会
 */
// 夕会指标 - 跟PC一致  
const kpiEvening = (params)=>sql2apiAction('0500a9497e4c3119017fb0f17f310006', params)
// 人员明细
const kpiEveningPerson = (params)=>sql2apiAction('402880838464b6230184e6a661630012', params)
// 夕会用户明细
const kpiEveningUsersCommon = (params)=>sql2apiAction('0500a94981992a550181992a552b0000', params)

/* *
 * 作战情报
 * */
// 预警指标
// const kpiWarn = (params)=>sql2apiAction('402880838464b6230184e1198e77000c', params)
const kpiWarn = (params)=>sql2apiAction('0500a9497e4c3119018068f28bd50020', params)
// const kpiWarnCom = (params)=>sql2apiAction('4028808d8575602c018576baa1fc0002', params)   // 旧行云
const kpiWarnCom = (params)=>sql2apiAction('0500a9497e4c3119018068f28bd50020', params)
// // 排名下拉框指标
// const kpiRankSelect = (params)=>sql2apiAction('402880838464b6230184e5403d6b000e', params)
// // 排名列表-市
// const kpiRankCity = (params)=>sql2apiAction('402880838464b6230184e6497d44000f', params)
// // 排名列表-省
// const kpiRankProvince = (params)=>sql2apiAction('402880838464b6230184e68325570011', params)
// 排名下拉框指标
const kpiRankSelect = (params)=>sql2apiAction('0500a9497e4c3119018068ee85cb001e', params)
// 排名列表-市
const kpiRankCity = (params)=>sql2apiAction('0500a9497e4c3119018068f1a0ad001f', params)
// 排名列表-省
const kpiRankProvince = (params)=>sql2apiAction('0500a9497e4c31190181951249280151', params)
// 三无用户明细
const warnSwDetail = (params)=>sql2apiAction('4028808385b973c80185beffb6530005', params)
// 移网沉默用户明细
const warnYwcmDetail = (params)=>sql2apiAction('4028808385b973c80185bf12f4880007', params)
// 5G未登网明细
const warn5GDetail = (params)=>sql2apiAction('4028808385b973c80185ba06383b0002', params)
// 携出预警
const warnXcyjDetail = (params)=>sql2apiAction('0500a9498233148c0182f71e001700b2', params)
// 携出用户
const warnXcyhDetail = (params)=>sql2apiAction('0500a9498233148c0182f7baf30800b3', params)
// 移网离网用户明细
const warnYwlwDetail = (params)=>sql2apiAction('4028808385b973c80185bf23aea20008', params)
// 降套明细
const warnJtDetail = (params)=>sql2apiAction('0500a9498233148c01823eb576820020', params)
// 端网业不匹配明细
const warnDwyDetail = (params)=>sql2apiAction('4028808385b973c80185c3b4b9100009', params)
// 宽带沉默用户明细
const warnKdcmDetail = (params)=>sql2apiAction('4028808385b973c80185bf0b47510006', params)
// 宽带到期预警明细
const warnkddqDetail = (params)=>sql2apiAction('4028808385b973c80185bef0a08d0004', params)
// 流失明细
const warnLsDetail = (params)=>sql2apiAction('4028808385b973c80185bec2180a0003', params)
// 楼宇明细
const warnLyDetail = (params)=>sql2apiAction('402880838464b6230184e661825b0010', params)
// 人员排名列表-网格
const kpiRankGridByUser = (params)=>sql2apiAction('4028808385b973c80185b973c8340000', params)
// 人员排名列表-市
const kpiRankCityByUser = (params)=>sql2apiAction('4028808385b973c80185b98a412e0001', params)

// 工资单
const payrollList = (params)=>sql2apiAction('402880838464b6230184f5964d3b001d', params)
// 工资单-明细
const payrollDetail = (params)=>sql2apiAction('402880838464b6230184f596b713001e', params)

// 月看板
// 发展
const morningMonthAdvance = (params)=>sql2apiAction('40288083855340ee0185568b0f050002', params)
// 维系
const morningMonthSustain = (params)=>sql2apiAction('40288083855340ee0185568bfc050003', params)
// 智家
const morningMonthWise = (params)=>sql2apiAction('40288083855340ee0185568c94ad0004', params)
// 收入 - 出账收入
const morningMonthIncomeTotal = (params)=>sql2apiAction('40288083855340ee01855cdcb90f0009', params)
// 收入 - 其他收入
const morningMonthIncomeOther = (params)=>sql2apiAction('40288083855340ee01855ce73121000a', params)
// 欠费
const morningMonthArrear = (params)=>sql2apiAction('40288083855340ee01855bd0390e0007', params)
// 欠费 - 人员明细
const arrearMonthPeople = (params)=>sql2apiAction('40288083855340ee01855cc309090008', params)
// 晨会 发展、维系、智家人员指标 人员明细
const kpiMonthPeople = (params)=>sql2apiAction('40288083855340ee018556999c280005', params)

// 获取 - 日指标单一值
const kpiDay = (params)=>sql2apiAction('4028808d8575602c018575a3e1dc0001', params)
// 获取 - 日指标单一值 - 收入
const kpiDayIncome = (params)=>sql2apiAction('4028808d8575602c01857fa256550005', params)
// 获取 - 月指标单一值
const kpiMonth = (params)=>sql2apiAction('4028808d8575602c018576fd03630003', params)
// 获取 - 月指标单一值 收入
const kpiMonthIncome = (params)=>sql2apiAction('4028808d8575602c01857faea9fc0006', params)
// 获取 - 月指标人员列表 收入
const kpiMonthIncomePeople = (params)=>sql2apiAction('4028808d8575602c01857fc2f38d0007', params)
// 获取 - 月指标折线 发展、维系、智家、收入
const kpiMonthLineCom = (params)=>sql2apiAction('4028808d8575602c0185771c0f0e0004', params)
// 获取 - 月指标折线 欠费
const kpiMonthLineArrear = (params)=>sql2apiAction('402880838570afaf01857a8091ae0001', params)

// 收入预测合计
const revenueTotal = (params)=>sql2apiAction('4028808385b973c801870d0ebfef0065', params)
// 收入预测实时出账
const revenueReal = (params)=>sql2apiAction('40288083870e52ea01872115bbf80010', params)
// 收入预测趋势
const revenueLine = (params)=>sql2apiAction('4028808385b973c801870d1cda6a0066', params)

export {
  morningDayAdvance,
  morningDaySustain,
  morningDayWise,
  morningDayDeliver,
  morningDayIncomeTotal,
  morningDayIncomeOther,
  morningDayIncomeLine,
  morningDayIncomeList,
  morningDayArrear,
  morningDayArrearList,
  morningDayArrearDetail,
  kpiPeopleDetail,
  daygsm,
  daykd,
  dayrh,
  dayyqt,
  daygsm5g,
  dayqz,
  daygh,
  dayqz5g,
  daysjb5g,
  daykdtsb,
  daykdxy,
  daytcsd,
  daywjgh,
  daywjzw,
  daywjsy,
  dayiptv,
  dayyj,
  dayzj,
  dayxz,
  dayjf2i,
  kpiEvening,
  kpiEveningPerson,
  kpiEveningUsersCommon,
  kpiWarn,
  kpiWarnCom,
  kpiRankSelect,
  kpiRankCity,
  kpiRankProvince,
  kpiRankGridByUser,
  kpiRankCityByUser,
  warnSwDetail,
  warnYwcmDetail,
  warn5GDetail,
  warnXcyjDetail,
  warnXcyhDetail,
  warnYwlwDetail,
  warnJtDetail,
  warnDwyDetail,
  warnKdcmDetail,
  warnkddqDetail,
  warnLsDetail,
  warnLyDetail,
  payrollList,
  payrollDetail,
  morningMonthAdvance,
  morningMonthSustain,
  morningMonthWise,
  morningMonthIncomeTotal,
  morningMonthIncomeOther,
  morningMonthArrear,
  arrearMonthPeople,
  kpiMonthPeople,
  kpiDay,
  kpiMonth,
  kpiMonthLineCom,
  kpiMonthLineArrear,
  kpiDayIncome,
  kpiMonthIncome,
  kpiMonthIncomePeople,
  revenueTotal,
  revenueReal,
  revenueLine
}